<template>
  <div class="footer">
    <div class="footer-main">
      <div class="item">
        <p>
          <span></span>
          微信公众号
        </p>
        <img src=".././img/footer/weixin.jpg" alt />
      </div>
      <div class="item">
        <p>
          <span></span>
          微信小程序
        </p>
        <img src=".././img/footer/weibo.jpg" alt />
      </div>
    </div>
    <div class="copyright-wrapper">
      <p class="copyright">
        CopyRight 2016
        <br />
        <a href="http://www.beian.miit.gov.cn">津ICP备19003219号</a>
        ：022-67185138
      </p>
    </div>
  </div>
</template>
<style scoped>
.footer {
  padding-top: 15px;
  overflow: hidden;
  background: url(.././img/footer/bg.png) no-repeat;
  background-size: cover;
  background-position: top left;
}
.footer h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 15px;
  text-align: center;
}
.footer-main {
  width: 68%;
  margin: 0 auto 10px;
  display: flex;
}
.footer-main .item {
  flex: 1;
}
.item img {
  width: 95px;
  height: 95px;
  margin: 0 auto 9px;
  display: block;
}
.item p {
  text-align: center;
  font-size: 12px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}
.item p span {
  position: absolute;
  top: -5px;
  left: 15px;
  width: 29px;
  height: 29px;
  background: url(.././img/footer/wx.png) no-repeat;
  background-size: cover;
}
.item:nth-child(2) p span {
  background: url(.././img/footer/xcx.png) no-repeat;
  background-size: cover;
}
.item i {
  display: inline-block;
  margin-right: 2px;
}
.copyright-wrapper {
  width: 100%;
  background: #ffc662;
  padding: 2.5px 0;
}
.copyright {
  font-size: 10px;
  color: #fff;
  margin: 10px 0;
  line-height: 20px;
  text-align: center;
}
a {
  color: #fff;
}
a:hover {
  text-decoration: underline;
  color: #fff;
}
</style>
